CRPEReportFieldMappingInfo
This structure contains report field mapping information.
Data Members
Each data member is set by the corresponding constructor parameter unless otherwise noted.
Data Member
| Type
| Default
| Description
|
m_valueType
| WORD
| 0
| valueType, one of the PEP_FVT constants.
|
| Constant
|
| PEP_FVT_INT8SFIELD
|
| PEP_FVT_INT8UFIELD
|
| PEP_FVT_INT16SFIELD
|
| PEP_FVT_INT16UFIELD
|
| PEP_FVT_INT32SFIELD
|
| PEP_FVT_INT32UFIELD
|
| PEP_FVT_NUMBERFIELD
|
| PEP_FVT_CURRENCYFIELD
|
| PEP_FVT_BOOLEANFIELD
|
| PEP_FVT_DATEFIELD
|
| PEP_FVT_TIMEFIELD
|
| PEP_FVT_STRINGFIELD
|
| PEP_FVT_TRANSIENTMEMOFIELD
|
| PEP_FVT_PERSISTENTMEMOFIELD
|
| PEP_FVT_BLOBFIELD
|
| PEP_FVT_DATETIMEFIELD
|
| PEP_FVT_BITMAPFIELD
|
| PEP_FVT_ICONFIELD
|
| PEP_FVT_PICTUREFIELD
|
| PEP_FVT_OLEFIELD
|
| PEP_FVT_GRAPHFIELD
|
| PEP_FVT_UNKNOWNFIELD
|
Data Member
| Type
| Default
| Description
|
m_TableAliasName
| _TCHAR
| '\0'
| The table alias name (of length PEP_TABLE_NAME_LEN = 128).
|
m_databaseFieldName
| _TCHAR
| '\0'
| The database field name (of length PEP_DATABASE_FIELD_NAME_LEN = 128).
|
m_mappingTo
| int
| 0
| The assigned index of a field in PEFieldMappingEventInfo. See Remarks below.
|
Remarks
- Mapped fields are assigned to the index of a field in the member databaseFields array of PEFieldMappingEventInfo.
- Unmapped fields are assigned to -1.
Constructor CRPEReportFieldMappingInfo::CRPEReportFieldMappingInfo
This constructs a CRPEReportFieldMappingInfo structure object. Call the constructor with no parameters to allow the Class Library to initialize all member variables with default values. Pass parameters to the constructor to assign specific values to each member variable.
Constructor Syntax (Default)
CRPEReportFieldMappingInfo ();
Constructor Syntax
CRPEReportFieldMappingInfo (
WORD valueType,
const _TCHAR *tableAliasName,
const _TCHAR *databaseFieldName,
int mappingTo );